/*
** Lua binding: jeclass
** Generated automatically by tolua++-1.0.92 on 05/25/16 19:25:16.
*/

#ifndef __cplusplus
#include "stdlib.h"
#endif
#include "string.h"

#include "tolua++.h"

/* Exported function */
extern "C" __declspec(dllexport) int  tolua_jeclass_open (lua_State* tolua_S);

#include "jeclass.h"

/* function to release collected object via destructor */
#ifdef __cplusplus

static int tolua_collect_CMessageEx (lua_State* tolua_S)
{
 CMessageEx* self = (CMessageEx*) tolua_tousertype(tolua_S,1,0);
	delete self;
	return 0;
}

static int tolua_collect_CNumberEx (lua_State* tolua_S)
{
 CNumberEx* self = (CNumberEx*) tolua_tousertype(tolua_S,1,0);
	delete self;
	return 0;
}
#endif


/* function to register type */
static void tolua_reg_types (lua_State* tolua_S)
{
 tolua_usertype(tolua_S,"CTestSystem");
 tolua_usertype(tolua_S,"CMessageEx");
 tolua_usertype(tolua_S,"CNumberEx");
}

/* method: new of class  CNumberEx */
#ifndef TOLUA_DISABLE_tolua_jeclass_CNumberEx_new00
static int tolua_jeclass_CNumberEx_new00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertable(tolua_S,1,"CNumberEx",0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  {
   CNumberEx* tolua_ret = (CNumberEx*)  new CNumberEx();
   tolua_pushusertype(tolua_S,(void*)tolua_ret,"CNumberEx");
  }
 }
 return 1;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: new_local of class  CNumberEx */
#ifndef TOLUA_DISABLE_tolua_jeclass_CNumberEx_new00_local
static int tolua_jeclass_CNumberEx_new00_local(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertable(tolua_S,1,"CNumberEx",0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  {
   CNumberEx* tolua_ret = (CNumberEx*)  new CNumberEx();
   tolua_pushusertype_and_takeownership(tolua_S,(void *)tolua_ret,"CNumberEx");
  }
 }
 return 1;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: new of class  CNumberEx */
#ifndef TOLUA_DISABLE_tolua_jeclass_CNumberEx_new01
static int tolua_jeclass_CNumberEx_new01(lua_State* tolua_S)
{
 tolua_Error tolua_err;
 if (
     !tolua_isusertable(tolua_S,1,"CNumberEx",0,&tolua_err) ||
     !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,3,&tolua_err)
 )
  goto tolua_lerror;
 else
 {
  int num = ((int)  tolua_tonumber(tolua_S,2,0));
  {
   CNumberEx* tolua_ret = (CNumberEx*)  new CNumberEx(num);
   tolua_pushusertype(tolua_S,(void*)tolua_ret,"CNumberEx");
  }
 }
 return 1;
tolua_lerror:
 return tolua_jeclass_CNumberEx_new00(tolua_S);
}
#endif //#ifndef TOLUA_DISABLE

/* method: new_local of class  CNumberEx */
#ifndef TOLUA_DISABLE_tolua_jeclass_CNumberEx_new01_local
static int tolua_jeclass_CNumberEx_new01_local(lua_State* tolua_S)
{
 tolua_Error tolua_err;
 if (
     !tolua_isusertable(tolua_S,1,"CNumberEx",0,&tolua_err) ||
     !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,3,&tolua_err)
 )
  goto tolua_lerror;
 else
 {
  int num = ((int)  tolua_tonumber(tolua_S,2,0));
  {
   CNumberEx* tolua_ret = (CNumberEx*)  new CNumberEx(num);
   tolua_pushusertype_and_takeownership(tolua_S,(void *)tolua_ret,"CNumberEx");
  }
 }
 return 1;
tolua_lerror:
 return tolua_jeclass_CNumberEx_new00_local(tolua_S);
}
#endif //#ifndef TOLUA_DISABLE

/* method: delete of class  CNumberEx */
#ifndef TOLUA_DISABLE_tolua_jeclass_CNumberEx_delete00
static int tolua_jeclass_CNumberEx_delete00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"CNumberEx",0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  CNumberEx* self = (CNumberEx*)  tolua_tousertype(tolua_S,1,0);
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'delete'",NULL);
#endif
  delete self;
 }
 return 0;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'delete'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: SetNumber of class  CNumberEx */
#ifndef TOLUA_DISABLE_tolua_jeclass_CNumberEx_SetNumber00
static int tolua_jeclass_CNumberEx_SetNumber00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"CNumberEx",0,&tolua_err) ||
     !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,3,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  CNumberEx* self = (CNumberEx*)  tolua_tousertype(tolua_S,1,0);
  int num = ((int)  tolua_tonumber(tolua_S,2,0));
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetNumber'",NULL);
#endif
  {
   self->SetNumber(num);
  }
 }
 return 0;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'SetNumber'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: GetNumber of class  CNumberEx */
#ifndef TOLUA_DISABLE_tolua_jeclass_CNumberEx_GetNumber00
static int tolua_jeclass_CNumberEx_GetNumber00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"CNumberEx",0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  CNumberEx* self = (CNumberEx*)  tolua_tousertype(tolua_S,1,0);
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetNumber'",NULL);
#endif
  {
   int tolua_ret = (int)  self->GetNumber();
   tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
  }
 }
 return 1;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'GetNumber'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: Add of class  CNumberEx */
#ifndef TOLUA_DISABLE_tolua_jeclass_CNumberEx_Add00
static int tolua_jeclass_CNumberEx_Add00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"CNumberEx",0,&tolua_err) ||
     !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,3,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  CNumberEx* self = (CNumberEx*)  tolua_tousertype(tolua_S,1,0);
  int num = ((int)  tolua_tonumber(tolua_S,2,0));
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'Add'",NULL);
#endif
  {
   int tolua_ret = (int)  self->Add(num);
   tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
  }
 }
 return 1;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'Add'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: new of class  CMessageEx */
#ifndef TOLUA_DISABLE_tolua_jeclass_CMessageEx_new00
static int tolua_jeclass_CMessageEx_new00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertable(tolua_S,1,"CMessageEx",0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  {
   CMessageEx* tolua_ret = (CMessageEx*)  new CMessageEx();
   tolua_pushusertype(tolua_S,(void*)tolua_ret,"CMessageEx");
  }
 }
 return 1;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: new_local of class  CMessageEx */
#ifndef TOLUA_DISABLE_tolua_jeclass_CMessageEx_new00_local
static int tolua_jeclass_CMessageEx_new00_local(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertable(tolua_S,1,"CMessageEx",0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  {
   CMessageEx* tolua_ret = (CMessageEx*)  new CMessageEx();
   tolua_pushusertype_and_takeownership(tolua_S,(void *)tolua_ret,"CMessageEx");
  }
 }
 return 1;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: new of class  CMessageEx */
#ifndef TOLUA_DISABLE_tolua_jeclass_CMessageEx_new01
static int tolua_jeclass_CMessageEx_new01(lua_State* tolua_S)
{
 tolua_Error tolua_err;
 if (
     !tolua_isusertable(tolua_S,1,"CMessageEx",0,&tolua_err) ||
     !tolua_isstring(tolua_S,2,0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,3,&tolua_err)
 )
  goto tolua_lerror;
 else
 {
  char* initMsg = ((char*)  tolua_tostring(tolua_S,2,0));
  {
   CMessageEx* tolua_ret = (CMessageEx*)  new CMessageEx(initMsg);
   tolua_pushusertype(tolua_S,(void*)tolua_ret,"CMessageEx");
  }
 }
 return 1;
tolua_lerror:
 return tolua_jeclass_CMessageEx_new00(tolua_S);
}
#endif //#ifndef TOLUA_DISABLE

/* method: new_local of class  CMessageEx */
#ifndef TOLUA_DISABLE_tolua_jeclass_CMessageEx_new01_local
static int tolua_jeclass_CMessageEx_new01_local(lua_State* tolua_S)
{
 tolua_Error tolua_err;
 if (
     !tolua_isusertable(tolua_S,1,"CMessageEx",0,&tolua_err) ||
     !tolua_isstring(tolua_S,2,0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,3,&tolua_err)
 )
  goto tolua_lerror;
 else
 {
  char* initMsg = ((char*)  tolua_tostring(tolua_S,2,0));
  {
   CMessageEx* tolua_ret = (CMessageEx*)  new CMessageEx(initMsg);
   tolua_pushusertype_and_takeownership(tolua_S,(void *)tolua_ret,"CMessageEx");
  }
 }
 return 1;
tolua_lerror:
 return tolua_jeclass_CMessageEx_new00_local(tolua_S);
}
#endif //#ifndef TOLUA_DISABLE

/* method: delete of class  CMessageEx */
#ifndef TOLUA_DISABLE_tolua_jeclass_CMessageEx_delete00
static int tolua_jeclass_CMessageEx_delete00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"CMessageEx",0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  CMessageEx* self = (CMessageEx*)  tolua_tousertype(tolua_S,1,0);
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'delete'",NULL);
#endif
  delete self;
 }
 return 0;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'delete'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: SetMessage of class  CMessageEx */
#ifndef TOLUA_DISABLE_tolua_jeclass_CMessageEx_SetMessage00
static int tolua_jeclass_CMessageEx_SetMessage00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"CMessageEx",0,&tolua_err) ||
     !tolua_isstring(tolua_S,2,0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,3,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  CMessageEx* self = (CMessageEx*)  tolua_tousertype(tolua_S,1,0);
  char* initMsg = ((char*)  tolua_tostring(tolua_S,2,0));
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'SetMessage'",NULL);
#endif
  {
   self->SetMessage(initMsg);
  }
 }
 return 0;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'SetMessage'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: GetMessage of class  CMessageEx */
#ifndef TOLUA_DISABLE_tolua_jeclass_CMessageEx_GetMessage00
static int tolua_jeclass_CMessageEx_GetMessage00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"CMessageEx",0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  CMessageEx* self = (CMessageEx*)  tolua_tousertype(tolua_S,1,0);
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetMessage'",NULL);
#endif
  {
   char* tolua_ret = (char*)  self->GetMessage();
   tolua_pushstring(tolua_S,(const char*)tolua_ret);
  }
 }
 return 1;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'GetMessage'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: ShowMessage of class  CMessageEx */
#ifndef TOLUA_DISABLE_tolua_jeclass_CMessageEx_ShowMessage00
static int tolua_jeclass_CMessageEx_ShowMessage00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"CMessageEx",0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  CMessageEx* self = (CMessageEx*)  tolua_tousertype(tolua_S,1,0);
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'ShowMessage'",NULL);
#endif
  {
   self->ShowMessage();
  }
 }
 return 0;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'ShowMessage'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: GetSingleton of class  CTestSystem */
#ifndef TOLUA_DISABLE_tolua_jeclass_CTestSystem_GetSingleton00
static int tolua_jeclass_CTestSystem_GetSingleton00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertable(tolua_S,1,"CTestSystem",0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  {
   CTestSystem& tolua_ret = (CTestSystem&)  CTestSystem::GetSingleton();
   tolua_pushusertype(tolua_S,(void*)&tolua_ret,"CTestSystem");
  }
 }
 return 1;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'GetSingleton'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: GetNumberObj of class  CTestSystem */
#ifndef TOLUA_DISABLE_tolua_jeclass_CTestSystem_GetNumberObj00
static int tolua_jeclass_CTestSystem_GetNumberObj00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"CTestSystem",0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  CTestSystem* self = (CTestSystem*)  tolua_tousertype(tolua_S,1,0);
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetNumberObj'",NULL);
#endif
  {
   CNumberEx& tolua_ret = (CNumberEx&)  self->GetNumberObj();
   tolua_pushusertype(tolua_S,(void*)&tolua_ret,"CNumberEx");
  }
 }
 return 1;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'GetNumberObj'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: GetMessageObj of class  CTestSystem */
#ifndef TOLUA_DISABLE_tolua_jeclass_CTestSystem_GetMessageObj00
static int tolua_jeclass_CTestSystem_GetMessageObj00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"CTestSystem",0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  CTestSystem* self = (CTestSystem*)  tolua_tousertype(tolua_S,1,0);
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetMessageObj'",NULL);
#endif
  {
   CMessageEx& tolua_ret = (CMessageEx&)  self->GetMessageObj();
   tolua_pushusertype(tolua_S,(void*)&tolua_ret,"CMessageEx");
  }
 }
 return 1;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'GetMessageObj'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* Open function */
int tolua_jeclass_open (lua_State* tolua_S)
{
 tolua_open(tolua_S);
 tolua_reg_types(tolua_S);
 tolua_module(tolua_S,NULL,0);
 tolua_beginmodule(tolua_S,NULL);
  #ifdef __cplusplus
  tolua_cclass(tolua_S,"CNumberEx","CNumberEx","",tolua_collect_CNumberEx);
  #else
  tolua_cclass(tolua_S,"CNumberEx","CNumberEx","",NULL);
  #endif
  tolua_beginmodule(tolua_S,"CNumberEx");
   tolua_function(tolua_S,"new",tolua_jeclass_CNumberEx_new00);
   tolua_function(tolua_S,"new_local",tolua_jeclass_CNumberEx_new00_local);
   tolua_function(tolua_S,".call",tolua_jeclass_CNumberEx_new00_local);
   tolua_function(tolua_S,"new",tolua_jeclass_CNumberEx_new01);
   tolua_function(tolua_S,"new_local",tolua_jeclass_CNumberEx_new01_local);
   tolua_function(tolua_S,".call",tolua_jeclass_CNumberEx_new01_local);
   tolua_function(tolua_S,"delete",tolua_jeclass_CNumberEx_delete00);
   tolua_function(tolua_S,"SetNumber",tolua_jeclass_CNumberEx_SetNumber00);
   tolua_function(tolua_S,"GetNumber",tolua_jeclass_CNumberEx_GetNumber00);
   tolua_function(tolua_S,"Add",tolua_jeclass_CNumberEx_Add00);
  tolua_endmodule(tolua_S);
  #ifdef __cplusplus
  tolua_cclass(tolua_S,"CMessageEx","CMessageEx","",tolua_collect_CMessageEx);
  #else
  tolua_cclass(tolua_S,"CMessageEx","CMessageEx","",NULL);
  #endif
  tolua_beginmodule(tolua_S,"CMessageEx");
   tolua_function(tolua_S,"new",tolua_jeclass_CMessageEx_new00);
   tolua_function(tolua_S,"new_local",tolua_jeclass_CMessageEx_new00_local);
   tolua_function(tolua_S,".call",tolua_jeclass_CMessageEx_new00_local);
   tolua_function(tolua_S,"new",tolua_jeclass_CMessageEx_new01);
   tolua_function(tolua_S,"new_local",tolua_jeclass_CMessageEx_new01_local);
   tolua_function(tolua_S,".call",tolua_jeclass_CMessageEx_new01_local);
   tolua_function(tolua_S,"delete",tolua_jeclass_CMessageEx_delete00);
   tolua_function(tolua_S,"SetMessage",tolua_jeclass_CMessageEx_SetMessage00);
   tolua_function(tolua_S,"GetMessage",tolua_jeclass_CMessageEx_GetMessage00);
   tolua_function(tolua_S,"ShowMessage",tolua_jeclass_CMessageEx_ShowMessage00);
  tolua_endmodule(tolua_S);
  tolua_cclass(tolua_S,"CTestSystem","CTestSystem","",NULL);
  tolua_beginmodule(tolua_S,"CTestSystem");
   tolua_function(tolua_S,"GetSingleton",tolua_jeclass_CTestSystem_GetSingleton00);
   tolua_function(tolua_S,"GetNumberObj",tolua_jeclass_CTestSystem_GetNumberObj00);
   tolua_function(tolua_S,"GetMessageObj",tolua_jeclass_CTestSystem_GetMessageObj00);
  tolua_endmodule(tolua_S);
 tolua_endmodule(tolua_S);
 return 1;
}


#if defined(LUA_VERSION_NUM) && LUA_VERSION_NUM >= 501
 int luaopen_jeclass (lua_State* tolua_S) {
 return tolua_jeclass_open(tolua_S);
};
#endif

